<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>03实例外部挂载</title>
</head>
<body>

  <div id='app'>
    {{msg}}
  </div>
  <div class="box">
    <!-- 这里无法使用vue语法 -->
  </div>


<script src='https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.js'></script>
<script>
  const vm = new Vue({
    data: {
      msg: '你好 Vue'
    }
  }).$mount(document.querySelector('#app'))
  // vm.$mount(document.querySelector('#app'))

</script>
</body>
</html>